<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
<div id="app">
    <ul>
        <li v-for="p in permissions">{{p.permissionName}}</li>
    </ul>
</div>
<script src="js/vue.js"></script>
<script src="js/axios.js"></script>
</body>
<script>
    const app = Vue.createApp({
        data() {
            return {
                permissions:[]
            }
        },
        created(){
          this.getPermission()
        },
        methods: {
            async getPermission(){
                let {data:res} =await axios({
                    url:"getUserPermissions"
                })
                this.permissions = res.data
            }
        }
    })
    app.mount("#app")
</script>
</html>